package com.project.communitymanagement.common;

/**
 * @ProjectName: hotelNew
 * @Package: com.setup.mysql.common
 * @ClassName: ResponseStatus
 * @Author: "XGP"
 * @Description:
 * @Date: 2021/09/13 11:22
 * @Version: 1.0
 */
public enum ResponseStatus{
    SUCCESS(200,"访问成功"),
    INSUFFICIENT_PERMISSIONS(401,"权限不足"),
    ERROR(500,"系统内部错误");

    private int value;
    private String message;
    ResponseStatus(int value,String message){
        this.value=value;
        this.message=message;

    }

    public int getValue() {
        return value;
    }

    public String getMessage() {
        return message;
    }
}

